import {createStore} from 'vuex'


const store = createStore({
    state:{
        userInfo:{}
    },
    mutations:{
        updateUserInfo(state, userInfo){
            state.userInfo = userInfo || {}
        }
    }
})

export default store